/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.startup.yellocar.dto;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 *
 * @author difson
 */
@Entity
@Table(name="sms_plan")
public class SMSDTO {

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
    private long id;
	@Column(name="title")
    private String subject;
    @Column(name="content")
    private String content;
    @Column(name="recipents")
    private String to;
    @Column(name="phone_number")
    private String from;
    @Column(name="status")
    private boolean status;

	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	
 

}
